@extends('member.member')

<!-- title -->
@section('title', '我的文档')

<!-- 中间内容块 -->
@section('rightcontainer')
<div class="tab-content">
	<div class="workfavor" style="background: white;width: 993px; margin-top: 20px;">
		<div class='ent_zhph ent3'>
			<ul class="mem_cate clearfix">
        		<li class='firt-li'>排序方法:</li>
        		<li>
        			<a href='#' class="ent-bgcolor" >时间</a>
        		</li>
        		<li>|</li>
        		<li>
        			<a href='#' class="" >浏览量</a>
        		</li>
        		<li>|</li>
        		<li>
        			<a href='#' class="" >评论星级</a>
        		</li>
        	</ul>
		</div>
		@foreach($collect_job as $key=>$cjob)
		<div class="mem_cont" @if($key>0) bordertop @endif" id="news_{{$cjob->collectid}}">
			<p class="ml-10">
				<span class="ft-18 cor-2">{{$cjob->title}}</span>
				<span class="ft-14 cor-6">[{{$cjob->areaname}}]</span>
				<span class="ft-16 cor-1 ml-10">{{$salary[$cjob->salary]}}</span>
				<span class="cor-4 fr">发布时间：{{date('Y-m-d',strtotime($cjob->created_at))}}</span>
				<div class="clearfix"></div>
			</p>
			<p class="ml-10 ft-14 cor-4">
				<span>{{$cjob->companyname}}/{{$gznx[$cjob->gznx]}}/{{$degree[$cjob->degree]}}/{{$gzxz[$cjob->gzxz]}}</span>
				<span class="ml-20">
				@foreach($cjob->tags as $key=>$ctag)
				
				    {{$ctag->tags->tags_name}} @if($key<=(count($ctag->tags)-1))/ @endif
				@endforeach
				</span>
				<span class="favor fr cor-6"><a href="" class="cor-6">投简历</a></span>
				<span class="favor fr mr-20">
				    <a href="javascript:void(0)" class="cor-6" onclick="delete_one('/member/collect/{{$cjob->collectid}}?app=jobs','{{$cjob->collectid}}','{{csrf_token()}}')">取消收藏</a>
				    </span>
				<div class="clearfix"></div>
			</p>
			<div class="clearfix"></div>
		</div>
		@endforeach
	</div>	
	 <div class="paginate">{!! $collect_job->render() !!} </div>
	<div class="clearfix"></div>		
</div>
@stop

<!-- 底部块 -->
@section('footer')
    @parent
@stop

